home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / dev / c / flex246.lha / NEWS < prev    next >
Text File  |  1994-01-04  |  27KB  |  688 lines

  1. Changes between release 2.4.6 (04Jan94) and release 2.4.5:
  2.  
  3.     - Linking with -lfl no longer required if your program includes
  4.       its own yywrap() and main() functions.  (This change will cause
  5.       problems if you have a non-ANSI compiler on a system for which
  6.       sizeof(int) != sizeof(void*) or sizeof(int) != sizeof(size_t).)
  7.  
  8.     - The use of 'extern "C++"' in FlexLexer.h has been modified to
  9.       get around an incompatibility with g++'s header files.
  10.  
  11.  
  12. Changes between release 2.4.5 (11Dec93) and release 2.4.4:
  13.  
  14.     - Fixed bug breaking C++ scanners that use REJECT or variable
  15.       trailing context.
  16.  
  17.     - Fixed serious input problem for interactive scanners on
  18.       systems for which char is unsigned.
  19.  
  20.     - Fixed bug in incorrectly treating '$' operator as variable
  21.       trailing context.
  22.  
  23.     - Fixed bug in -CF table representation that could lead to
  24.       corrupt tables.
  25.  
  26.     - Fixed fairly benign memory leak.
  27.  
  28.     - Added `extern "C++"' wrapper to FlexLexer.h header.  This
  29.       should overcome the g++ 2.5.X problems mentioned in the
  30.       NEWS for release 2.4.3.
  31.  
  32.     - Changed #include of FlexLexer.h to use <> instead of "".
  33.  
  34.     - Added feature to control whether the scanner attempts to
  35.       refill the input buffer once it's exhausted.  This feature
  36.       will be documented in the 2.5 release.
  37.  
  38.  
  39. Changes between release 2.4.4 (07Dec93) and release 2.4.3:
  40.  
  41.     - Fixed two serious bugs in scanning 8-bit characters.
  42.  
  43.     - Fixed bug in YY_USER_ACTION that caused it to be executed
  44.       inappropriately (on the scanner's own internal actions, and
  45.       with incorrect yytext/yyleng values).
  46.  
  47.     - Fixed bug in pointing yyin at a new file and resuming scanning.
  48.  
  49.     - Portability fix regarding min/max/abs macros conflicting with
  50.       function definitions in standard header files.
  51.  
  52.     - Added a virtual LexerError() method to the C++ yyFlexLexer class
  53.       for reporting error messages instead of always using cerr.
  54.  
  55.     - Added warning in flexdoc that the C++ scanning class is presently
  56.       experimental and subject to considerable change between major
  57.       releases.
  58.  
  59.  
  60. Changes between release 2.4.3 (03Dec93) and release 2.4.2:
  61.  
  62.     - Fixed bug causing fatal scanner messages to fail to print.
  63.  
  64.     - Fixed things so FlexLexer.h can be included in other C++
  65.       sources.  One side-effect of this change is that -+ and -CF
  66.       are now incompatible.
  67.  
  68.     - libfl.a now supplies private versions of the the <string.h>/
  69.       <strings.h> string routines needed by flex and the scanners
  70.       it generates, to enhance portability to some BSD systems.
  71.  
  72.     - More robust solution to 2.4.2's flexfatal() bug fix.
  73.  
  74.     - Added ranlib of installed libfl.a.
  75.  
  76.     - Some lint tweaks.
  77.  
  78.     - NOTE: problems have been encountered attempting to build flex
  79.       C++ scanners using g++ version 2.5.X.  The problem is due to an
  80.       unfortunate heuristic in g++ 2.5.X that attempts to discern between
  81.       C and C++ headers.  Because FlexLexer.h is installed (by default)
  82.       in /usr/local/include and not /usr/local/lib/g++-include, g++ 2.5.X
  83.       decides that it's a C header :-(.  So if you have problems, install
  84.       the header in /usr/local/lib/g++-include instead.
  85.  
  86.  
  87. Changes between release 2.4.2 (01Dec93) and release 2.4.1:
  88.  
  89.     - Fixed bug in libfl.a referring to non-existent "flexfatal" function.
  90.  
  91.     - Modified to produce both compress'd and gzip'd tar files for
  92.       distributions (you probably don't care about this change!).
  93.  
  94.  
  95. Changes between release 2.4.1 (30Nov93) and release 2.3.8:
  96.  
  97.     - The new '-+' flag instructs flex to generate a C++ scanner class
  98.       (thanks to Kent Williams).  flex writes an implementation of the
  99.       class defined in FlexLexer.h to lex.yy.cc.  You may include
  100.       multiple scanner classes in your program using the -P flag.  Note
  101.       that the scanner class also provides a mechanism for creating
  102.       reentrant scanners.  The scanner class uses C++ streams for I/O
  103.       instead of FILE*'s (thanks to Tom Epperly).  If the flex executable's
  104.       name ends in '+' then the '-+' flag is automatically on, so creating
  105.       a symlink or copy of "flex" to "flex++" results in a version of
  106.       flex that can be used exclusively for C++ scanners.
  107.  
  108.       Note that without the '-+' flag, flex-generated scanners can still
  109.       be compiled using C++ compilers, though they use FILE*'s for I/O
  110.       instead of streams.
  111.  
  112.       See the "GENERATING C++ SCANNERS" section of flexdoc for details.
  113.  
  114.     - The new '-l' flag turns on maximum AT&T lex compatibility.  In
  115.       particular, -l includes support for "yylineno" and makes yytext
  116.       be an array instead of a pointer.  It does not, however, do away
  117.       with all incompatibilities.  See the "INCOMPATIBILITIES WITH LEX
  118.       AND POSIX" section of flexdoc for details.
  119.  
  120.     - The new '-P' option specifies a prefix to use other than "yy"
  121.       for the scanner's globally-visible variables, and for the
  122.       "lex.yy.c" filename.  Using -P you can link together multiple
  123.       flex scanners in the same executable.
  124.  
  125.     - The distribution includes a "texinfo" version of flexdoc.1,
  126.       contributed by Roland Pesch (thanks also to Marq Kole, who
  127.       contributed another version).  It has not been brought up to
  128.       date, but reflects version 2.3.  See MISC/flex.texinfo.
  129.  
  130.       The flex distribution will soon include G.T. Nicol's flex
  131.       manual; he is presently bringing it up-to-date for version 2.4.
  132.  
  133.     - yywrap() is now a function, and you now *must* link flex scanners
  134.       with libfl.a.
  135.  
  136.     - Site-configuration is now done via an autoconf-generated
  137.       "configure" script contributed by Francois Pinard.
  138.  
  139.     - Scanners now use fread() (or getc(), if interactive) and not
  140.       read() for input.  A new "table compression" option, -Cr,
  141.       overrides this change and causes the scanner to use read()
  142.       (because read() is a bit faster than fread()).  -f and -F
  143.       are now equivalent to -Cfr and -CFr; i.e., they imply the
  144.       -Cr option.
  145.  
  146.     - In the blessed name of POSIX compliance, flex supports "%array"
  147.       and "%pointer" directives in the definitions (first) section of
  148.       the scanner specification.  The former specifies that yytext
  149.       should be an array (of size YYLMAX), the latter, that it should
  150.       be a pointer.  The array version of yytext is universally slower
  151.       than the pointer version, but has the advantage that its contents
  152.       remain unmodified across calls to input() and unput() (the pointer
  153.       version of yytext is, still, trashed by such calls).
  154.  
  155.       "%array" cannot be used with the '-+' C++ scanner class option.
  156.  
  157.     - The new '-Ca' option directs flex to trade off memory for
  158.       natural alignment when generating a scanner's tables.  In
  159.       particular, table entries that would otherwise be "short"
  160.       become "long".
  161.  
  162.     - The new '-h' option produces a summary of the flex flags.
  163.  
  164.     - The new '-V' option reports the flex version number and exits.
  165.  
  166.     - The new scanner macro YY_START returns an integer value
  167.       corresponding to the current start condition.  You can return
  168.       to that start condition by passing the value to a subsequent
  169.       "BEGIN" action.  You also can implement "start condition stacks"
  170.       by storing the values in an integer stack.
  171.  
  172.     - You can now redefine macros such as YY_INPUT by just #define'ing
  173.       them to some other value in the first section of the flex input;
  174.       no need to first #undef them.
  175.  
  176.     - flex now generates warnings for rules that can't be matched.
  177.       These warnings can be turned off using the new '-w' flag.  If
  178.       your scanner uses REJECT then you will not get these warnings.
  179.  
  180.     - If you specify the '-s' flag but the default rule can be matched,
  181.       flex now generates a warning.
  182.  
  183.     - "yyleng" is now a global, and may be modified by the user (though
  184.       doing so and then using yymore() will yield weird results).
  185.  
  186.     - Name definitions in the first section of a scanner specification
  187.       can now include a leading '^' or trailing '$' operator.  In this
  188.       case, the definition is *not* pushed back inside of parentheses.
  189.  
  190.     - Scanners with compressed tables are now "interactive" (-I option)
  191.       by default.  You can suppress this attribute (which makes them
  192.       run slightly slower) using the new '-B' flag.
  193.  
  194.     - Flex now generates 8-bit scanners by default, unless you use the
  195.       -Cf or -CF compression options (-Cfe  and -CFe result in 8-bit
  196.       scanners).  You can force it to generate a 7-bit scanner using
  197.       the new '-7' flag.  You can build flex to generate 8-bit scanners
  198.       for -Cf and -CF, too, by adding -DDEFAULT_CSIZE=256 to CFLAGS
  199.       in the Makefile.
  200.  
  201.     - You no longer need to call the scanner routine yyrestart() to
  202.       inform the scanner that you have switched to a new file after
  203.       having seen an EOF on the current input file.  Instead, just
  204.       point yyin at the new file and continue scanning.
  205.  
  206.     - You no longer need to invoke YY_NEW_FILE in an <<EOF>> action
  207.       to indicate you wish to continue scanning.  Simply point yyin
  208.       at a new file.
  209.  
  210.     - A leading '#' no longer introduces a comment in a flex input.
  211.  
  212.     - flex no longer considers formfeed ('\f') a whitespace character.
  213.  
  214.     - %t, I'm happy to report, has been nuked.
  215.  
  216.     - The '-p' option may be given twice ('-pp') to instruct flex to
  217.       report minor performance problems as well as major ones.
  218.  
  219.     - The '-v' verbose output no longer includes start/finish time
  220.       information.
  221.  
  222.     - Newlines in flex inputs can optionally include leading or
  223.       trailing carriage-returns ('\r'), in support of several PC/Mac
  224.       run-time libraries that automatically include these.
  225.  
  226.     - A start condition of the form "<*>" makes the following rule
  227.       active in every start condition, whether exclusive or inclusive.
  228.  
  229.     - The following items have been corrected in the flex documentation:
  230.  
  231.         - '-C' table compression options *are* cumulative.
  232.  
  233.         - You may modify yytext but not lengthen it by appending
  234.           characters to the end.  Modifying its final character
  235.           will affect '^' anchoring for the next rule matched
  236.           if the character is changed to or from a newline.
  237.  
  238.         - The term "backtracking" has been renamed "backing up",
  239.           since it is a one-time repositioning and not a repeated
  240.           search.  What used to be the "lex.backtrack" file is now
  241.           "lex.backup".
  242.  
  243.         - Unindented "/* ... */" comments are allowed in the first
  244.           flex input section, but not in the second.
  245.  
  246.         - yyless() can only be used in the flex input source, not
  247.           externally.
  248.  
  249.         - You can use "yyrestart(yyin)" to throw away the
  250.           current contents of the input buffer.
  251.  
  252.         - To write high-speed scanners, attempt to match as much
  253.           text as possible with each rule.  See MISC/fastwc/README
  254.           for more information.
  255.  
  256.         - Using the beginning-of-line operator ('^') is fairly
  257.           cheap.  Using unput() is expensive.  Using yyless() is
  258.           cheap.
  259.  
  260.         - An example of scanning strings with embedded escape
  261.           sequences has been added.
  262.  
  263.         - The example of backing-up in flexdoc was erroneous; it
  264.           has been corrected.
  265.  
  266.     - A flex scanner's internal buffer now dynamically grows if needed
  267.       to match large tokens.  Note that growing the buffer presently
  268.       requires rescanning the (large) token, so consuming a lot of
  269.       text this way is a slow process.  Also note that presently the
  270.       buffer does *not* grow if you unput() more text than can fit
  271.       into the buffer.
  272.  
  273.     - The MISC/ directory has been reorganized; see MISC/README for
  274.       details.
  275.  
  276.     - yyless() can now be used in the third (user action) section
  277.       of a scanner specification, thanks to Ceriel Jacobs.  yyless()
  278.       remains a macro and cannot be used outside of the scanner source.
  279.  
  280.     - The skeleton file is no longer opened at run-time, but instead
  281.       compiled into a large string array (thanks to John Gilmore and
  282.       friends at Cygnus).  You can still use the -S flag to point flex
  283.       at a different skeleton file, though if you use this option let
  284.       me know, as I plan to otherwise do away with -S in the near
  285.       future.
  286.  
  287.     - flex no longer uses a temporary file to store the scanner's
  288.       actions.
  289.  
  290.     - A number of changes have been made to decrease porting headaches.
  291.       In particular, flex no longer uses memset() or ctime(), and
  292.       provides a single simple mechanism for dealing with C compilers
  293.       that still define malloc() as returning char* instead of void*.
  294.  
  295.     - Flex now detects if the scanner specification requires the -8 flag
  296.       but the flag was not given or on by default.
  297.  
  298.     - A number of table-expansion fencepost bugs have been fixed,
  299.       making flex more robust for generating large scanners.
  300.  
  301.     - flex more consistently identifies the location of errors in
  302.       its input.
  303.  
  304.     - YY_USER_ACTION is now invoked only for "real" actions, not for
  305.       internal actions used by the scanner for things like filling
  306.       the buffer or handling EOF.
  307.  
  308.     - The rule "[^]]" now matches any character other than a ']';
  309.       formerly it matched any character at all followed by a ']'.
  310.       This change was made for compatibility with AT&T lex.
  311.  
  312.     - A large number of miscellaneous bugs have been found and fixed
  313.       thanks to Gerhard Wilhelms.
  314.  
  315.     - The source code has been heavily reformatted, making patches
  316.       relative to previous flex releases no longer accurate.
  317.  
  318.  
  319. Changes between 2.3 Patch #8 (21Feb93) and 2.3 Patch #7:
  320.  
  321.     - Fixed bugs in dynamic memory allocation leading to grievous
  322.       fencepost problems when generating large scanners.
  323.     - Fixed bug causing infinite loops on character classes with 8-bit
  324.       characters in them.
  325.     - Fixed bug in matching repetitions with a lower bound of 0.
  326.     - Fixed bug in scanning NUL characters using an "interactive" scanner.
  327.     - Fixed bug in using yymore() at the end of a file.
  328.     - Fixed bug in misrecognizing rules with variable trailing context.
  329.     - Fixed bug compiling flex on Suns using gcc 2.
  330.     - Fixed bug in not recognizing that input files with the character
  331.       ASCII 128 in them require the -8 flag.
  332.     - Fixed bug that could cause an infinite loop writing out
  333.       error messages.
  334.     - Fixed bug in not recognizing old-style lex % declarations if
  335.       followed by a tab instead of a space.
  336.     - Fixed potential crash when flex terminated early (usually due
  337.       to a bad flag) and the -v flag had been given.
  338.     - Added some missing declarations of void functions.
  339.     - Changed to only use '\a' for __STDC__ compilers.
  340.     - Updated mailing addresses.
  341.  
  342.  
  343. Changes between 2.3 Patch #7 (28Mar91) and 2.3 Patch #6:
  344.  
  345.     - Fixed out-of-bounds array access that caused bad tables
  346.       to be produced on machines where the bad reference happened
  347.       to yield a 1.  This caused problems installing or running
  348.       flex on some Suns, in particular.
  349.  
  350.  
  351. Changes between 2.3 Patch #6 (29Aug90) and 2.3 Patch #5:
  352.  
  353.     - Fixed a serious bug in yymore() which basically made it
  354.       completely broken.  Thanks goes to Jean Christophe of
  355.       the Nethack development team for finding the problem
  356.       and passing along the fix.
  357.  
  358.  
  359. Changes between 2.3 Patch #5 (16Aug90) and 2.3 Patch #4:
  360.  
  361.     - An up-to-date version of initscan.c so "make test" will
  362.       work after applying the previous patches
  363.  
  364.  
  365. Changes between 2.3 Patch #4 (14Aug90) and 2.3 Patch #3:
  366.  
  367.     - Fixed bug in hexadecimal escapes which allowed only digits,
  368.       not letters, in escapes
  369.     - Fixed bug in previous "Changes" file!
  370.  
  371.  
  372. Changes between 2.3 Patch #3 (03Aug90) and 2.3 Patch #2:
  373.  
  374.     - Correction to patch #2 for gcc compilation; thanks goes to
  375.       Paul Eggert for catching this.
  376.  
  377.  
  378. Changes between 2.3 Patch #2 (02Aug90) and original 2.3 release:
  379.  
  380.     - Fixed (hopefully) headaches involving declaring malloc()
  381.       and free() for gcc, which defines __STDC__ but (often) doesn't
  382.       come with the standard include files such as <stdlib.h>.
  383.       Reordered #ifdef maze in the scanner skeleton in the hope of
  384.       getting the declarations right for cfront and g++, too.
  385.  
  386.     - Note that this patch supercedes patch #1 for release 2.3,
  387.       which was never announced but was available briefly for
  388.       anonymous ftp.
  389.  
  390.  
  391. Changes between 2.3 (full) release of 28Jun90 and 2.2 (alpha) release:
  392.  
  393.     User-visible:
  394.  
  395.     - A lone <<EOF>> rule (that is, one which is not qualified with
  396.       a list of start conditions) now specifies the EOF action for
  397.       *all* start conditions which haven't already had <<EOF>> actions
  398.       given.  To specify an end-of-file action for just the initial
  399.       state, use <INITIAL><<EOF>>.
  400.  
  401.     - -d debug output is now contigent on the global yy_flex_debug
  402.       being set to a non-zero value, which it is by default.
  403.  
  404.     - A new macro, YY_USER_INIT, is provided for the user to specify
  405.       initialization action to be taken on the first call to the
  406.       scanner.  This action is done before the scanner does its
  407.       own initialization.
  408.  
  409.     - yy_new_buffer() has been added as an alias for yy_create_buffer()
  410.  
  411.     - Comments beginning with '#' and extending to the end of the line
  412.       now work, but have been deprecated (in anticipation of making
  413.       flex recognize #line directives).
  414.  
  415.     - The funky restrictions on when semi-colons could follow the
  416.       YY_NEW_FILE and yyless macros have been removed.  They now
  417.       behave identically to functions.
  418.  
  419.     - A bug in the sample redefinition of YY_INPUT in the documentation
  420.       has been corrected.
  421.  
  422.     - A bug in the sample simple tokener in the documentation has
  423.       been corrected.
  424.  
  425.     - The documentation on the incompatibilities between flex and
  426.       lex has been reordered so that the discussion of yylineno
  427.       and input() come first, as it's anticipated that these will
  428.       be the most common source of headaches.
  429.  
  430.  
  431.     Things which didn't used to be documented but now are:
  432.  
  433.     - flex interprets "^foo|bar" differently from lex.  flex interprets
  434.       it as "match either a 'foo' or a 'bar', providing it comes at the
  435.       beginning of a line", whereas lex interprets it as "match either
  436.       a 'foo' at the beginning of a line, or a 'bar' anywhere".
  437.  
  438.     - flex initializes the global "yyin" on the first call to the
  439.       scanner, while lex initializes it at compile-time.
  440.  
  441.     - yy_switch_to_buffer() can be used in the yywrap() macro/routine.
  442.  
  443.     - flex scanners do not use stdio for their input, and hence when
  444.       writing an interactive scanner one must explictly call fflush()
  445.       after writing out a prompt.
  446.  
  447.     - flex scanner can be made reentrant (after a fashion) by using
  448.       "yyrestart( yyin );".  This is useful for interactive scanners
  449.       which have interrupt handlers that long-jump out of the scanner.
  450.  
  451.     - a defense of why yylineno is not supported is included, along
  452.       with a suggestion on how to convert scanners which rely on it.
  453.  
  454.  
  455.     Other changes:
  456.  
  457.     - Prototypes and proper declarations of void routines have
  458.       been added to the flex source code, courtesy of Kevin B. Kenny.
  459.  
  460.     - Routines dealing with memory allocation now use void* pointers
  461.       instead of char* - see Makefile for porting implications.
  462.  
  463.     - Error-checking is now done when flex closes a file.
  464.  
  465.     - Various lint tweaks were added to reduce the number of gripes.
  466.  
  467.     - Makefile has been further parameterized to aid in porting.
  468.  
  469.     - Support for SCO Unix added.
  470.  
  471.     - Flex now sports the latest & greatest UC copyright notice
  472.       (which is only slightly different from the previous one).
  473.  
  474.     - A note has been added to flexdoc.1 mentioning work in progress
  475.       on modifying flex to generate straight C code rather than a
  476.       table-driven automaton, with an email address of whom to contact
  477.       if you are working along similar lines.
  478.  
  479.  
  480. Changes between 2.2 Patch #3 (30Mar90) and 2.2 Patch #2:
  481.  
  482.     - fixed bug which caused -I scanners to bomb
  483.  
  484.  
  485. Changes between 2.2 Patch #2 (27Mar90) and 2.2 Patch #1:
  486.  
  487.     - fixed bug writing past end of input buffer in yyunput()
  488.     - fixed bug detecting NUL's at the end of a buffer
  489.  
  490.  
  491. Changes between 2.2 Patch #1 (23Mar90) and 2.2 (alpha) release:
  492.  
  493.     - Makefile fixes: definition of MAKE variable for systems
  494.       which don't have it; installation of flexdoc.1 along with
  495.       flex.1; fixed two bugs which could cause "bigtest" to fail.
  496.  
  497.     - flex.skel fix for compiling with g++.
  498.  
  499.     - README and flexdoc.1 no longer list an out-of-date BITNET address
  500.       for contacting me.
  501.  
  502.     - minor typos and formatting changes to flex.1 and flexdoc.1.
  503.  
  504.  
  505. Changes between 2.2 (alpha) release of March '90 and previous release:
  506.  
  507.     User-visible:
  508.  
  509.     - Full user documentation now available.
  510.  
  511.     - Support for 8-bit scanners.
  512.  
  513.     - Scanners now accept NUL's.
  514.  
  515.     - A facility has been added for dealing with multiple
  516.       input buffers.
  517.  
  518.     - Two manual entries now.  One which fully describes flex
  519.       (rather than just its differences from lex), and the
  520.       other for quick(er) reference.
  521.  
  522.     - A number of changes to bring flex closer into compliance
  523.       with the latest POSIX lex draft:
  524.  
  525.         %t support
  526.         flex now accepts multiple input files and concatenates
  527.             them together to form its input
  528.         previous -c (compress) flag renamed -C
  529.         do-nothing -c and -n flags added
  530.         Any indented code or code within %{}'s in section 2 is
  531.             now copied to the output
  532.  
  533.     - yyleng is now a bona fide global integer.
  534.  
  535.     - -d debug information now gives the line number of the
  536.       matched rule instead of which number rule it was from
  537.       the beginning of the file.
  538.  
  539.     - -v output now includes a summary of the flags used to generate
  540.       the scanner.
  541.  
  542.     - unput() and yyrestart() are now globally callable.
  543.  
  544.     - yyrestart() no longer closes the previous value of yyin.
  545.  
  546.     - C++ support; generated scanners can be compiled with C++ compiler.
  547.  
  548.     - Primitive -lfl library added, containing default main()
  549.       which calls yylex().  A number of routines currently living
  550.       in the scanner skeleton will probably migrate to here
  551.       in the future (in particular, yywrap() will probably cease
  552.       to be a macro and instead be a function in the -lfl library).
  553.  
  554.     - Hexadecimal (\x) escape sequences added.
  555.  
  556.     - Support for MS-DOS, VMS, and Turbo-C integrated.
  557.  
  558.     - The %used/%unused operators have been deprecated.  They
  559.       may go away soon.
  560.  
  561.  
  562.     Other changes:
  563.  
  564.     - Makefile enhanced for easier testing and installation.
  565.     - The parser has been tweaked to detect some erroneous
  566.       constructions which previously were missed.
  567.     - Scanner input buffer overflow is now detected.
  568.     - Bugs with missing "const" declarations fixed.
  569.     - Out-of-date Minix/Atari patches provided.
  570.     - Scanners no longer require printf() unless FLEX_DEBUG is being used.
  571.     - A subtle input() bug has been fixed.
  572.     - Line numbers for "continued action" rules (those following
  573.       the special '|' action) are now correct.
  574.     - unput() bug fixed; had been causing problems porting flex to VMS.
  575.     - yymore() handling rewritten to fix bug with interaction
  576.       between yymore() and trailing context.
  577.     - EOF in actions now generates an error message.
  578.     - Bug involving -CFe and generating equivalence classes fixed.
  579.     - Bug which made -CF be treated as -Cf fixed.
  580.     - Support for SysV tmpnam() added.
  581.     - Unused #define's for scanner no longer generated.
  582.     - Error messages which are associated with a particular input
  583.       line are now all identified with their input line in standard
  584.       format.
  585.     - % directives which are valid to lex but not to flex are
  586.       now ignored instead of generating warnings.
  587.     - -DSYS_V flag can now also be specified -DUSG for System V
  588.       compilation.
  589.  
  590.  
  591. Changes between 2.1 beta-test release of June '89 and previous release:
  592.  
  593.     User-visible:
  594.  
  595.     - -p flag generates a performance report to stderr.  The report
  596.       consists of comments regarding features of the scanner rules
  597.       which result in slower scanners.
  598.  
  599.     - -b flag generates backtracking information to lex.backtrack.
  600.       This is a list of scanner states which require backtracking
  601.       and the characters on which they do so.  By adding rules
  602.       one can remove backtracking states.  If all backtracking states
  603.       are eliminated, the generated scanner will run faster.
  604.       Backtracking is not yet documented in the manual entry.
  605.  
  606.     - Variable trailing context now works, i.e., one can have
  607.       rules like "(foo)*/[ \t]*bletch".  Some trailing context
  608.       patterns still cannot be properly matched and generate
  609.       error messages.  These are patterns where the ending of the
  610.       first part of the rule matches the beginning of the second
  611.       part, such as "zx*/xy*", where the 'x*' matches the 'x' at
  612.       the beginning of the trailing context.  Lex won't get these
  613.       patterns right either.
  614.  
  615.     - Faster scanners.
  616.  
  617.     - End-of-file rules.  The special rule "<<EOF>>" indicates
  618.       actions which are to be taken when an end-of-file is
  619.       encountered and yywrap() returns non-zero (i.e., indicates
  620.       no further files to process).  See manual entry for example.
  621.  
  622.     - The -r (reject used) flag is gone.  flex now scans the input
  623.       for occurrences of the string "REJECT" to determine if the
  624.       action is needed.  It tries to be intelligent about this but
  625.       can be fooled.  One can force the presence or absence of
  626.       REJECT by adding a line in the first section of the form
  627.       "%used REJECT" or "%unused REJECT".
  628.  
  629.     - yymore() has been implemented.  Similarly to REJECT, flex
  630.       detects the use of yymore(), which can be overridden using
  631.       "%used" or "%unused".
  632.  
  633.     - Patterns like "x{0,3}" now work (i.e., with lower-limit == 0).
  634.  
  635.     - Removed '\^x' for ctrl-x misfeature.
  636.  
  637.     - Added '\a' and '\v' escape sequences.
  638.  
  639.     - \<digits> now works for octal escape sequences; previously
  640.       \0<digits> was required.
  641.  
  642.     - Better error reporting; line numbers are associated with rules.
  643.  
  644.     - yyleng is a macro; it cannot be accessed outside of the
  645.       scanner source file.
  646.  
  647.     - yytext and yyleng should not be modified within a flex action.
  648.  
  649.     - Generated scanners #define the name FLEX_SCANNER.
  650.  
  651.     - Rules are internally separated by YY_BREAK in lex.yy.c rather
  652.       than break, to allow redefinition.
  653.  
  654.     - The macro YY_USER_ACTION can be redefined to provide an action
  655.       which is always executed prior to the matched rule's action.
  656.     
  657.     - yyrestart() is a new action which can be used to restart
  658.       the scanner after it has seen an end-of-file (a "real" one,
  659.       that is, one for which yywrap() returned non-zero).  It takes
  660.       a FILE* argument indicating a new file to scan and sets
  661.       things up so that a subsequent call to yylex() will start
  662.       scanning that file.
  663.  
  664.     - Internal scanner names all preceded by "yy_"
  665.  
  666.     - lex.yy.c is deleted if errors are encountered during processing.
  667.  
  668.     - Comments may be put in the first section of the input by preceding
  669.       them with '#'.
  670.  
  671.  
  672.  
  673.     Other changes:
  674.  
  675.     - Some portability-related bugs fixed, in particular for machines
  676.       with unsigned characters or sizeof( int* ) != sizeof( int ).
  677.       Also, tweaks for VMS and Microsoft C (MS-DOS), and identifiers all
  678.       trimmed to be 31 or fewer characters.  Shortened file names
  679.       for dinosaur OS's.  Checks for allocating > 64K memory
  680.       on 16 bit'ers.  Amiga tweaks.  Compiles using gcc on a Sun-3.
  681.     - Compressed and fast scanner skeletons merged.
  682.     - Skeleton header files done away with.
  683.     - Generated scanner uses prototypes and "const" for __STDC__.
  684.     - -DSV flag is now -DSYS_V for System V compilation.
  685.     - Removed all references to FTL language.
  686.     - Software now covered by BSD Copyright.
  687.     - flex will replace lex in subsequent BSD releases.
  688.